home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / program / snpd9611.zip / DIRPORT.H < prev    next >
Text File  |  1996-11-24  |  2KB  |  78 lines

  1. .I 0 1
  2. /* +++Date last modified: 08-Sep-1996 */
  3. .D 1 1
  4. .I 2 2
  5. /*====================================================================
  6.  
  7. .I 11 1
  8.     __EMX__         Emx Gnu C
  9. .I 40 4
  10.     15-May-96  David Nugent Added 32-bit OS/2 support (Watcom/emx)
  11.     04-Jul-96  Bob Stout    Fixed attribute redefinition problems w/ TC 3.x
  12.     28-Jul-96  Bob Stout    Fixed error in definition of ff_sec() in DOS
  13.     20-Aug-96  Bob Stout    Eliminate Win32 conflicts
  14. .I 48 13
  15. #if defined(__OS2__)
  16.  #define OS2
  17. #endif
  18.  
  19. #if defined(__EMX__)
  20.  #undef OS2
  21.  #define OS2
  22. #endif
  23.  
  24. #if defined(OS2)
  25.  #undef MSDOS
  26. #endif
  27.  
  28. .I 62 9
  29.  #undef  _A_NORMAL
  30.  #undef  _A_RDONLY
  31.  #undef  _A_HIDDEN
  32.  #undef  _A_SYSTEM
  33.  #undef  _A_VOLID
  34.  #undef  _A_SUBDIR
  35.  #undef  _A_ARCH
  36.  #undef  _A_ANY
  37.  
  38. .I 83 5
  39.   #define WIN32_LEAN_AND_MEAN
  40.   #define NOGDI
  41.   #define NOSERVICE
  42.   #undef INC_OLE1
  43.   #undef INC_OLE2
  44. .I 84 1
  45.   #include <dos.h>    /* #define's most _A_* file attribute macros    */
  46. .D 85 1
  47. .I 110 1
  48.   int FIND_END(DOSFileData *ff);
  49. .D 111 1
  50. .I 169 11
  51.  #undef  _SYSINT
  52.  #if defined(__FLAT__) || defined(__EMX__)
  53.  #undef  _FILEFINDBUF
  54.  #define _FILEFINDBUF _FILEFINDBUF3
  55.  #define _SYSINT ULONG
  56.  #define FINDLVL FIL_STANDARD
  57.  #else
  58.  #define _SYSINT USHORT
  59.  #define FINDLVL 0L
  60.  #endif
  61.  
  62. .D 170 1
  63. .I 171 1
  64.       HDIR dh;
  65. .D 172 1
  66. .I 210 1
  67.  #define ff_sec(x)      (x)->time.tsecs
  68. .D 211 1
  69. .I 225 1
  70. #if defined (_MSC_VER) || defined(_QC) || defined(__WATCOMC__) || defined(__EMX__)
  71. .D 226 1
  72. .I 227 4
  73.   int FIND_FIRST (char * spec, unsigned attr, DOSFileData *ff);
  74.   int FIND_NEXT (DOSFileData *ff);
  75.   int FIND_END (DOSFileData *ff);
  76.  
  77. .D 228 17
  78.